package com.songtech.common.dictionary.service;


import com.songtech.common.dictionary.bean.SysDictionary;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: RENTIE
 * Date: 2018-06-19 9:36
 */
public interface SysDictionaryService {
    /**
     * 查询产品信息列表
     * @param dictgroupId  字典分组表中的dictgroup_id
     * @return
     * @throws Exception
     */
    List<SysDictionary> selectProduct(String dictgroupId) throws Exception;

    /**
     * 查询某产品的型号列表
     * @param dictId 字典表id
     * @return
     * @throws Exception
     */
    List<SysDictionary> selectVersion(String dictId) throws Exception;

    /**
     * 查询仓库信息列表
     * @param code 字典分组表中的dictgroup_code
     * @return
     */
    List<SysDictionary> selectStoreByCode(String code);

}
